package test;

public class Weather {

	WeatherState state;
	public void find(int c){
		if(c <= 0){
			
			state = new CloudDay();
			
		}else if(c > 0 && c < 100){
			
			state = new CLoudy();
			
		}else if(c >= 100){
			
			state = new HeavyRain();
		}
	}
	public void show(){
		state.showstate();
	}

}
